import 'package:cbec_app/generated/json/base/json_field.dart';
import 'package:cbec_app/generated/json/new_zone__entity.g.dart';
import 'dart:convert';
export 'package:cbec_app/generated/json/new_zone__entity.g.dart';

@JsonSerializable()
class NewZoneEntity {
  String? marketingId = '';
  String? goodsId = '';
  double? seckillPrice;
  double? discount;
  int? storage = 0;
  double? soldRatio;
  dynamic spuSpecJsonBody;
  String? skuCode = '';
  String? barCode = '';
  String? commodityName = '';
  int? status = 0;
  int? number = 0;
  int? commodityType = 0;
  int? commoditySource = 0;
  int? commodityForm = 0;
  String? supplierName = '';
  String? className = '';
  String? brandName = '';
  double? taxRate;
  double? highTaxRate;
  double? highPrice;
  double? price;
  String? image = '';
  String? mainImage = '';
  dynamic paySingle;
  int? activityStatus = 0;
  List<dynamic>? discountLabel = [];

  NewZoneEntity();

  factory NewZoneEntity.fromJson(Map<String, dynamic> json) => $NewZoneEntityFromJson(json);

  Map<String, dynamic> toJson() => $NewZoneEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
